package com.ling.sbbyyds.entity.news;

import io.swagger.annotations.ApiModelProperty;
import javax.persistence.Table;
import java.util.Date;

/**
 * @Description: 聊天信息
 * @author: ling
 * @date: 2023年02月12日
 */
@Table(name = "sbb_news_chat_message")
public class ChatMessage {

    @ApiModelProperty("发送人ID")
    private Long sendUserId;

    @ApiModelProperty("聊天室ID")
    private Long chatRoomId;

    @ApiModelProperty("信息类型")
    private Integer messageType;
    @ApiModelProperty("信息内容")
    private String content;

    @ApiModelProperty("发送时间")
    private Date createDate;

    @ApiModelProperty("是否删除")
    private Integer isDelete;
}
